<template>
	<view class="page-con pd10">
        <view
          class="cardview bgwhite pdlr"
          v-for="(item, index) in noticeList"
          :key="index"
        >
          <view class="fl title pdtb10">
			  <text class="title">公告</text>
		  </view>
          <view class="pdb">
            <view class="fl mgb10">
              <text class="form-tit">公告时间:</text>
              <text class="form-value">{{ item.time }}</text>
            </view>
            <view class="fl">
              <text class="form-tit">公告内容:</text>
              <text class="form-value">{{ item.content }}</text>
            </view>
          </view>
        </view>
	</view>
</template>

<script setup>
	import {
		ref,
		computed,
		onMounted,
		reactive,
		nextTick
	} from 'vue';
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app';
	const noticeList = ref([
	  {
		ID: 1,
		time: "2022-07-01",
		content: "123123213",
		type: 1,
	  },
	]);
	onLoad(async (query) => {
		uni.setNavigationBarTitle({
			title: "系统公告"
		})
	});
</script>

<style>

</style>
